﻿using MyDotNet.Dapper;
using MyDotNet.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyDotNet.Console
{
    class Program
    {
        static void Main(string[] args)
        {
            IDapperHelper dapperHelper = new MySqlDapperHelper();
            var list = dapperHelper.Query<MDN_Demo>("select * from MDN_Demo", new { });
            System.Console.WriteLine("表MDN_Demo中的数据条数：{0}",list.Count());
            System.Console.ReadKey();
        }
    }
}
